/*
    Carracci Systems - Carracci Server (openbam project)
    Copyright (C) 2007  Carracci Systems

    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation, either version 3 of the License, or
    (at your option) any later version.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.
*/

package org.openbam.core.expr;

/**
 * This strategy is used by {@link IOperatingWindow operating window} instances
 * when {@link EvaluatedValue}s are removed from the history. Implementations of
 * this strategy can decide how to handle the removed items.
 * <p>
 * Typically a {@link ILiveExpression live expression} implementation would decide
 * which strategy to use depending on the type of algorithm it is trying to
 * implement.
 * <p>
 * Having this class provides an extension mechanism for new live expressions to
 * re-use existing operating window impelementations.
 * 
 * @author inder
 */
public interface IOnResizeHandler {
	
	/**
	 * Called when the <code>evaluatedValue</code> is removed from the
	 * {@link IOperatingWindow}.
	 * @param evaluatedValue
	 */
	void removed(EvaluatedValue evaluatedValue);
}
